 public class PetrolCar extends Car {
    private static int petrolCarCount = 0;
    private double tankSize;
    public PetrolCar(String stockCode, String supplier, int quantity, double price, double tankSize) {
        super(stockCode, supplier, quantity, price);
        this.tankSize = tankSize;
        petrolCarCount++;
    }
     public  String getDescription(){
         return super.getDescription() + ", Battery Size: " + tankSize + " kWh";

     }
    public void filltankSize() {
        System.out.println("Filling the tank of size " + tankSize + " liters.");
    }
    public static int getPetrolCarCount() {
        return petrolCarCount;
    }
}
